﻿using System;

namespace Glue.Converters
{
    internal class CharStringConverter:GlueDefaultConverter<char,String>
    {
        internal override string InternalMapTowardsRight(char from)
        {
            return from.ToString();
        }

        internal override char InternalMapTowardsLeft(string from)
        {
            return Convert.ToChar(from);
        }
    }
}
